if (myRecording.getRecordingStatus().Equals(Status.Completed_Error))
{
Logger.Error("Recording not scheduled. Status is Completed with Error.");
}
else
{
Logger.Error("Recording not scheduled. Status is Conflict.");
}
return false;
}
else
{
return true;
}
}
catch (Exception e2)
{
Logger.Error("Recording not scheduled due to an error......");
Logger.Error("Error: " + e2.Message);
return false;
}
}
else
{
Logger.Error("Recording not scheduled. Recording not found after calling GBPVR API to schedule the programme.");
return false;
}
}
public override bool ScheduleAnyTime(Programme programme, Quality quality, DayType dayType, int keepnumRecordings, RecType type, int PrePad, int PostPad)
{
ScheduledRecording myRecording = new ScheduledRecording();
if (myRecording.getRecordingStatus().Equals(Status.Completed_Error))
{
Logger.Error("Recording not scheduled. Status is Completed with Error.");
}
else
{
Logger.Error("Recording not scheduled. Status is Conflict.");
}
return false;
}
else
{
return true;
}
}
catch (Exception e2)
{
Logger.Error("Recording not scheduled due to an error......");
Logger.Error("Error: " + e2.Message);
return false;
}
}
else
{
Logger.Error("Recording not scheduled. Recording not found after calling GBPVR API to schedule the programme.");
return false;
}
}
public override bool ScheduleAnyTime(Programme programme, Quality quality, DayType dayType, int keepnumRecordings, ArrayList days, RecType type, int PrePad, int PostPad)
{
ScheduledRecording myRecording = new ScheduledRecording();
try
{
switch (dayType)
{
case DayType.SheduleSpecificDays:
DateTime startTime = DateTime.MinValue;
DateTime endTime = DateTime.MinValue;
Day day = 0;
// Iterate through the ArrayList of days to create the daymask for the recording
if (myRecording.getRecordingStatus().Equals(Status.Completed_Error))
{
Logger.Error("Recording not scheduled. Status is Completed with Error.");
}
else
{
Logger.Error("Recording not scheduled. Status is Conflict.");
}
return false;
}
else
{
return true;
}
}
catch (Exception e2)
{
Logger.Error("Recording not scheduled due to an error......");
Logger.Error("Error: " + e2.Message);
return false;
}
}
else
{
Logger.Error("Recording not scheduled. Recording not found after calling GBPVR API to schedule the programme.");
return false;
}
}
public override bool ScheduleThisTime(Programme programme, Quality quality, DayType dayType, int keepnumRecordings, RecType type, int PrePad, int PostPad)
{
ScheduledRecording myRecording = new ScheduledRecording();
if (myRecording.getRecordingStatus().Equals(Status.Completed_Error))
{
Logger.Error("Recording not scheduled. Status is Completed with Error.");
}
else
{
Logger.Error("Recording not scheduled. Status is Conflict.");
}
return false;
}
else
{
return true;
}
}
catch (Exception e2)
{
Logger.Error("Recording not scheduled due to an error......");
Logger.Error("Error: " + e2.Message);
return false;
}
}
else
{
Logger.Error("Recording not scheduled. Recording not found after calling GBPVR API to schedule the programme.");
return false;
}
}
public override bool ScheduleThisTime(Programme programme, Quality quality, DayType dayType, int keepnumRecordings, ArrayList days, RecType type, int PrePad, int PostPad)
{
ScheduledRecording myRecording = new ScheduledRecording();
try
{
DateTime startTime = programme.getStartTime();
DateTime endTime = programme.getEndTime();
switch (dayType)
{
case DayType.SheduleSpecificDays:
Day day = 0;
// Iterate through the ArrayList of days to create the daymask for the recording